//定义一个有依赖的模块
(function (window,dataService) {
    let msg = 'alert.js'
    function showMsg() {
        console.log(msg,dataService.getName())
    }
    window.alerter = {showMsg}
})(window,dataService)
